
#ifndef   __MODEM_H__
#define   __MODEM_H__

extern unsigned int ModemStatus;
//extern unsigned int TE_DirectModemMode;

enum
{
		/* Responces */
	MODEM_OK = 1, 
	MODEM_NOT_ANSWER,
};

#define   INCOM_CALL_PHONE_SIZE		16

typedef struct
{
		char phone[INCOM_CALL_PHONE_SIZE];
}incom_call_t;

extern incom_call_t	incom_call_inf;

extern char modem_buf[];

void Modem_Init ( void );
void IncomingCallMonitor( void );
void Modem_CheckRegistration ( void );
int Modem_SendCommand ( int call_result, char *cmd );

#endif
